/*
*	ideas gotten from
*	http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/
*/

/* The main body */
body {
    background: #000;
    color: #000305;
    font-size: 87.5%; /* Base font size: 14px */
    font-family: Trebuchet, Arial, sans-serif;
    line-height: 1.429;
    margin: 0;
    padding: 0;
    text-align: left;
}

/* tell browser to display html5 layout tags as blocks
*  So now they will act as regular divs */
header, section, footer, aside, nav, article, figure { display: block; }

/* HEADINGS */
h2 { font-size: 1.571em; }	/* 22px */
h3 { font-size: 1.429em; }	/* 20px */
h4 { font-size: 1.286em }	/* 18px */
h5 { font-size: 1.143em }	/* 16px */
h6 { font-size: 1em }	/* 14px */
h2, h3, h4, h5, h6 {
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: .8em;
}

/* a Links */
a {outline: 0;}

a img {
    border: 0;
    text-decoration: none;
}

a:link, a:visited {
    color: #286F2B;
    padding: 0 1px;
    text-decoration: underline;
}
a:hover, a:active {
    background-color: #286F2B;
    color: #fff;
    text-decoration: none;
    text-shadow: 1px 1px 1px #222;
}

/* the body class in each html5 layout tag */
/* trying this out instead of using a div to store the whole content */
.body {
    clear: both;
    margin: 0 auto;
    width: 800px;
    padding: 5px 5px;
}


/* Header *****************/
#banner {
    margin: 0 auto;
    margin-top: 5px;
    background: #ddd;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

/* Banner */
#banner h1 {
    font-size: 3.571em;
    line-height: .6;
    margin-top: 5px;
    margin-bottom: 2px;
    margin-left: 5px;
    margin-right: 5px;
    text-align: left;
}

#banner h2{
    font-size: 1.429em;
    color: #222;
    margin-top: 2px;
    margin-bottom: 10px;
    margin-left: 40px;
    margin-right: 5px;
    text-align: left;
}

#banner h1 a:link, #banner h1 a:visited {
    color: #000305;
    display: block;
    font-weight: bold;
    margin: 0 0 .6em .2em;
    text-decoration: none;
    width: 427px;
}
#banner h1 a:hover, #banner h1 a:active {
    background: none;
    color: #286F2B;
    text-shadow: none;
}
#banner h1 strong {
    font-size: 0.36em;
    font-weight: normal;
}

/* Main Nav */
#banner nav {
    background: #286F2B;
    font-size: 1.143em;
    height: 35px;
    line-height: 25px;
    margin: 0;
    padding: 0;
    width: 800px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    text-align: left;
}
#banner nav ul {
    list-style: none;
    margin: 0 auto;
    width: 800px;
}
#banner nav li {
    float: left;
    display: inline; margin: 0;
}
#banner nav a:link, #banner nav a:visited {
    color: #fff;
    display: inline-block;
    height: 25px;
    padding: 5px 10px;
    text-decoration: none;
}
#banner nav a:hover, #banner nav a:active, #banner nav .active a:link, #banner nav .active a:visited {
    background: #0CB500;
    color: #fff;
    text-shadow: none !important;
}

#banner nav li:first-child a {
    border-top-left-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -webkit-border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    -moz-border-radius-bottomleft: 5px;
    -webkit-border-bottom-left-radius: 5px;
}

/* Section */
#content {
    margin-top: 10px;
    margin-bottom: 10px;
    background: #ddd;
    overflow: hidden;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

/* Footer */
footer {
    background: #ddd;
    text-align: center;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}